package com.health.mapper;

import com.health.entity.BannedUsers;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.health.entity.pojo.dto.QueryBanDTO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author sanchuan
 * @since 2023-04-22
 */
public interface BannedUsersMapper extends BaseMapper<BannedUsers> {

    @Select("select * from banned_users")
    List<BannedUsers> listBanUser();

    List<BannedUsers> listBanUsersPage(@Param("queryBanDTO") QueryBanDTO queryBanDTO);
}
